Skip to content

Fix/sdk bugs april 2026#15

Merged
abunsen merged 3 commits intomainfrom
fix/sdk-bugs-april-2026
Apr 17, 2026
Merged

Fix/sdk bugs april 2026#15
abunsen merged 3 commits intomainfrom
fix/sdk-bugs-april-2026

Conversation

@abunsen
Copy link
Copy Markdown
Contributor

@abunsen abunsen commented Apr 16, 2026

Leave open until Saturday night (4/18)

abunsen and others added 3 commits April 16, 2026 12:59
…fix model types

- Added sig_payload query parameter for GET/DELETE requests (fixes 401 auth errors)
- Fixed List endpoint to pass query params in URL instead of body
- Fixed EventLog to parse {"logs": [...]} response instead of raw array
- Fixed LedgerItem.Amount type (server returns string, not float64)
- Fixed LedgerItem.CreatedAt type to string
- Fixed Event model ID to interface{} (server returns number)
- Fixed CredentialProfile.CardStorage type to interface{}
- Added Logo field to CreateTemplateParams
- Updated tests to match new response formats

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The server returns RFC3339 timestamps which time.Time handles correctly.
Only Amount needed the type change (string vs float64).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@abunsen abunsen merged commit 5911d3d into main Apr 17, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant